﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Syndication;
using System.ServiceModel.Web;
using System.Text;

namespace TaskManagerApp.Service
{
    [ServiceContract]
    [ServiceKnownType(typeof(Atom10FeedFormatter))]
    [ServiceKnownType(typeof(Rss20FeedFormatter))]
    public interface ITaskService
    {
        [OperationContract]
        [WebGet(UriTemplate = "GetTasks")]
        SyndicationFeedFormatter GetTasks();
    }
}
